<?php if (isset($this->messageErr)){
    echo "<h2>". $this->messageErr. "</h2>";
}